package com.rd.student.jiaji.class4.suyan.zrrd.day07;

public class People {
    //设置成员变量，并且进行private封装
    private String name;
    private int age;
    //设置成员变量值set
    public void setName(String n){
        name=n;
    }
    public String getName(){
        return name;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int m){
        age=m;
    }
}
